Added support for scene-based imports via custom static mesh format#68
Merged
Added support for scene-based imports via custom static mesh format#68
Conversation
jonjondev
commented
Aug 4, 2025
jonjondev
commented
Aug 4, 2025
jonjondev
commented
Aug 4, 2025
jonjondev
commented
Aug 4, 2025
jonjondev
commented
Aug 4, 2025
jonjondev
commented
Aug 4, 2025
Raelr
approved these changes
Aug 4, 2025
Contributor
Raelr
left a comment
There was a problem hiding this comment.
Went over this with you @jonjondev and it LGTM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces support for a wide range of scene-based 3D file imports via custom static mesh format (
.sm). The packing of static mesh files have also replaced thetinyobjloaderdependency withassimp, enabling importing from a wide variety of formats, including GLTF, which can support a node hierarchy of meshes, that are baked into the single mesh file on packing.The work also sees the inclusion of a new runtime-interned string token system (technical details available here: https://capscollective.com/blog/siege-string-tokens/) for known token handling and comparison. To complement this new feature, attribute file parsing methods have been homogenised across the project to allow for custom asset files implementing this system (just scenes and static meshes for now) to be easily loaded and queried in a standard manner.
In addition to these new features, the following changes have also been made:
The PR has been...
The code has been...
master(according to GitHub)packagetargets